package demo4;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-08-10
 * Time: 11:29
 */

class Student{
   private Student student = null;

   public Student(){
       if (student == null){
           student = new Student();
       }
   }

}

public class Test {
    public static void main(String[] args) {
        Student student = new Student();
    }
}
